package cn.cheegon.blog.entity.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/7/3  下午2:55
 */
@Data
public class BlogEditReq {

    private Long id;

    @Schema(description = "内容(富文本)")
    private String content;

    @Schema(description = "内容(html)")
    private String html;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "封面图")
    private String firstPicture;

    @Schema(description = "类型")
    private String flag;

    @Schema(description = "是否发布 1是 0否")
    private Integer published;

    @Schema(description = "推荐 1是 0否")
    private Integer recommend;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "分类")
    private Long typeId;

    @Schema(description = "标签ids")
    private List<Long> tagIds;

}
